package com.zju.DoctorGo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zju.DoctorGo.dto.DoctorDTO;
import com.zju.DoctorGo.dto.NoticeUpdateDTO;
import com.zju.DoctorGo.entity.Doctor;
import com.zju.DoctorGo.entity.Notice;
import java.util.List;

public interface DoctorYellowPageService extends IService<Doctor>{
    /*
     * 创建一个医生
     */
    void createDoctor(Doctor doctor);

    Integer getByName(String doctorName);
    /*
     * 查询医生信息
     */
    Doctor retrieveDoctorById(Integer doctorId);
    /*
     * 用在查询科室，选择医生上，可结合retrieveDoctorById获得完整信息
     */
    List<DoctorDTO> retrieveDoctorsBySpecialty(String specialty);
    /*
     * 返回完整的医生信息，用于黄页
     */
    List<Doctor> retrieveDoctorsBySpecialty2(String specialty);


}
